package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.EquipmentUpkeepPlanDetail;
import com.mxpioframework.system.service.BaseService;

import java.util.List;


/**
 * 点检计划明细Service接口
 *
 * @author Cheng
 * @date 2023-07-19
 */
public interface EquipmentUpkeepPlanDetailService extends BaseService<EquipmentUpkeepPlanDetail> {
    /**
     * 根据保养分类批量新增点检计划明细
     * @param planId
     * @param categoryId
     */
    public void addDetailByCategory(String planId, String categoryId);

    /**
     * 单条新增计划明细
     * @param equipmentUpkeepPlanDetail
     */
    void addDetail(EquipmentUpkeepPlanDetail equipmentUpkeepPlanDetail);


    public List<EquipmentUpkeepPlanDetail> selectByMainId(String mainId);
}
